import request from '@/utils/request'

// 查询小区管理列表
export function listResidential_manage(query) {
  return request({
    url: '/baseSys/residential_manage/list',
    method: 'get',
    params: query
  })
}

export function getResidentialList() {
  return request({
    url: '/baseSys/residential_manage/getresidentiallist',
    method: 'get',
  })
}



// 查询小区管理详细
export function getResidential_manage(id) {
  return request({
    url: '/baseSys/residential_manage/' + id,
    method: 'get'
  })
}

// 新增小区管理
export function addResidential_manage(data) {
  return request({
    url: '/baseSys/residential_manage',
    method: 'post',
    data: data
  })
}

// 修改小区管理
export function updateResidential_manage(data) {
  return request({
    url: '/baseSys/residential_manage',
    method: 'put',
    data: data
  })
}

// 删除小区管理
export function delResidential_manage(id) {
  return request({
    url: '/baseSys/residential_manage/' + id,
    method: 'delete'
  })
}
